home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
CADAR
/
Lengths
/
n-note-to-rest
< prev
next >
Wrap
Text File
|
1998-10-25
|
441b
|
26 lines
n-note-to-rest which rhythm-list
&optional (type 'ratio)
converts lengths equal lengths in which-list into
rest-notes
(n-note-to-rest '(1/2 1/4)
'(1/1 1/2 1/1 1/4 1/8 1/8))
->(1/1 -1/2 1/1 -1/4 1/8 1/8)
with ticks you have to use optional type
'ticks
(n-note-to-rest '(120)
'(120 240 120 360) 'ticks)
->(-120 240 -120 360)
also works the other way around.
(n-note-to-rest '(-120)
'(-120 240 -120 360) 'ticks)
->(120 240 120 360)